package com.niit.xlztest.service;





import com.niit.xlztest.bean.Book;
import com.niit.xlztest.bean.Comm;

import java.util.List;

public interface BookService {

    void addBook(Book book);
    void updateBook(Book book);

    void deleteBookById(Integer book_id);

    List<Book> findAllBooks();
    List<Book> findBookByName(String bookName);
    Book findBookByid(String book_id);
    List<Book> findBookByType(String category);
}
